package com.amado.course23Extends;

import com.amado.course23Extends.student.domain.Student;

/**
 * 所有的类都是继承Object的，所有拥有object类的方法与属性
 * @author Administrator
 *
 */
//public class ObjectTest extends Object{
public class ObjectTest {
	public static void main(String[] args) {
		ObjectTest test = new ObjectTest();
		Student student = new Student();
		student.setName("张三");
		student.setAge(14);
		student.setStudentNum("XS001");
		System.out.println(student);
		
		test.equals(null);
	}
}
